<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>

<t:panelGrid width="100%">
	<h:graphicImage url="/image/logo.gif" width="100%" height="100"></h:graphicImage>
</t:panelGrid>


<t:panelGrid columns="9" bgcolor="f8f8ff" width="100%">

	<t:column style="align:left">
		<h:outputLink value="/#{menuBean.reqContextPath}/secure/portal/admin/admin.portal.jsf" styleClass="menuText_Label">
		  <h:outputText value="#{messages['home']}" styleClass="menuText_Label" />
		</h:outputLink>
	</t:column>

	<t:column style="align:left">
	  <t:column style="align:left">
	       <rich:dropDownMenu  value="#{messages['security.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['chg.pwd.menu']}" styleClass="menuText_Label" immediate="true"  action="#{userMgmtBean.navChangeUserPwdAction}" actionListener="#{userMgmtBean.navChangeUserPwdActionEvent}" />
	       </rich:dropDownMenu>
       </t:column>
    </t:column>

  	<rich:dropDownMenu value="#{messages['master.setup']}" styleClass="menuText_Label">
			   <rich:menuItem value="#{messages['country.menu']}" styleClass="menuText_Label" immediate="true"  action="#{menuBean.navCountryAction}" />
			   <rich:menuItem value="#{messages['state.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navStateAction}" />
			   <rich:menuItem value="#{messages['salutation.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navSalutationAction}" />
			   <rich:menuItem value="#{messages['race.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navRaceAction}" />
			   <rich:menuItem value="#{messages['territory.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navTerritoryAction}"></rich:menuItem>
			   <rich:menuItem value="#{messages['remark.menu']}" immediate="true" action="#{remarkBean.initRemarkAction}" ></rich:menuItem>   	    	
				<rich:menuItem value="#{messages['nationality']}" immediate="true" action="#{nationalityBean.initListAction}" actionListener="#{nationalityBean.initListActionEvent}" ></rich:menuItem>  
	</rich:dropDownMenu>
	
	<t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['timeshare.setup.menu']}" styleClass="menuText_Label" >
			<rich:menuItem value="#{messages['point.category']}"  action="#{adminPointCatBean.navListAction}" styleClass="menuText_Label" immediate="true"/>
			<rich:menuItem value="#{messages['credit.term']}" styleClass="menuText_Label" action="#{adminCreditTermBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['amortise.schema']}" styleClass="menuText_Label" action="#{adminAmortiseSchBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['reinstate.fee.trx']}" styleClass="menuText_Label" action="#{adminReinstateFreeTrxBean.navListAction}" immediate="true"/>
      		<%-- 
      		<rich:menuItem value="#{messages['calendar.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navCalendarAction}"></rich:menuItem>
			--%>
			<rich:menuItem value="#{messages['partner.doc.setup']}" styleClass="menuText_Label" action="#{adminPartnerDocumentMasterBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['partner.produt.type.setup']}" styleClass="menuText_Label" action="#{adminPartnerProductTypeMasterBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['partner.product.calendar.category.setup']}" styleClass="menuText_Label" action="#{adminPartnerProductCalendarMasterBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['member.document']}" styleClass="menuText_Label" action="#{adminMemberDocCheckListBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['membership.category.management']}" styleClass="menuText_Label" action="#{adminMembershipCategoryBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['membership.management']}" styleClass="menuText_Label" action="#{adminMembershipBean.navListAction}" immediate="true"/>
			<rich:menuGroup  value="#{messages['finance.setup.menu']}" styleClass="menuText_Label" >
      				<rich:menuItem value="#{messages['installment.schema.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navSchemaAction}"></rich:menuItem>
		     		<!--  
		     		<rich:menuItem value="#{messages['down.payment.installment.schema']}" styleClass="menuText_Label" immediate="true" action="#{adminDownPaymentInstallmentSchemaBean.navListAction}"></rich:menuItem>
					-->
					<rich:menuItem value="#{messages['commission.payment.schema.mgmt']}" styleClass="menuText_Label" action="#{adminCommPaymentSchBean.navListAction}" immediate="true"/>
					<rich:menuItem value="#{messages['commission.schema.mgmt']}" styleClass="menuText_Label" action="#{adminCommSchBean.navListAction}" immediate="true"/>
  			</rich:menuGroup>	
	</rich:dropDownMenu>
	</t:column>
	<t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['member.services']}" styleClass="menuText_Label" >
		<%-- 
			<rich:menuItem value="#{messages['proscpect.management']}" styleClass="menuText_Label" action="#{adminProspectMagmtBean.navListAction}" immediate="true"/>
		--%>
			<rich:menuItem value="#{messages['member.management']}" styleClass="menuText_Label" action="#{adminMemberMgmtBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['partner.management']}" styleClass="menuText_Label" action="#{adminPartnerManagementBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['pending.approval.partner.management']}" styleClass="menuText_Label" action="#{adminPartnerPendingApprovalManagementBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['agent.management']}" styleClass="menuText_Label" action="#{adminAgentMgmtBean.navListAction}" immediate="true"/>

			<rich:menuGroup  value="#{messages['voucher.management.menu']}" styleClass="menuText_Label" >
			 <rich:menuItem value="#{messages['voucher.generation.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherGenerationAction}" immediate="true"/>
			 <rich:menuItem value="#{messages['voucher.assignment.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherAssignmentAction}" immediate="true"/>
			 <rich:menuItem value="#{messages['voucher.unassignment.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherUnassignmentAction}" immediate="true"/>
			 <%-- 
			 <rich:menuItem value="#{messages['voucher.list.report.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherListRptParamAction}" immediate="true"/>
			 --%>
			 <rich:menuItem value="#{messages['voucher.entry.update.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherEntryAction}" immediate="true"/>
			 <rich:menuItem value="#{messages['print.complimentary.voucher.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initPrintComplAccommVoucherAction}" immediate="true"/>
		   </rich:menuGroup>

		   <rich:menuGroup  value="#{messages['rci.management.menu']}" styleClass="menuText_Label" >
 			  <rich:menuItem value="#{messages['rci.split.week.maintenance.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCISplitWeekConfigAction}" actionListener="#{adminRCIBean.initRCISplitWeekConfigActionListener}" immediate="true"/>		   	 
 			  <rich:menuItem value="#{messages['rci.member.particular.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIMemberAction}" immediate="true"/>
              <rich:menuItem value="#{messages['rci.bulk.bank.deposit.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIBulkBankAction}" immediate="true"/>
		   	 	<%--
			  <rich:menuItem value="#{messages['rci.assignment.space.bank.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIAssignmentAction}" immediate="true"/>
			  --%>
		      <rich:menuItem value="#{messages['rci.incoming.member.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIIncomingMemberAction}" actionListener="#{adminRCIBean.initRCIIncomingMemberActionListener}" immediate="true"/>
	 			<%--
			 <rich:menuItem value="#{messages['rci.member.deposit.mgmt']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIMemberDepositAction}" actionListener="#{adminRCIBean.initRCIMemberDepositActionListener}" immediate="true"/>
			 --%>
	 		 <rich:menuItem value="#{messages['rci.booking.entry.mgmt.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIBookingEntryAction}" actionListener="#{adminRCIBean.initRCIBookingEntryActionListener}" immediate="true"/>
		   </rich:menuGroup>

		  <rich:menuItem value="#{messages['package.setup.menu']}" styleClass="menuText_Label" action="#{adminPackageBean.initPackageSetupAction}" immediate="true"/>
		
		   <rich:menuGroup  value="#{messages['booking.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['complimentary.booking.menu']}" styleClass="menuText_Label" action="#{adminComplimentaryBookingBean.initComplimentaryBookingAction}" immediate="true"/>
		   	<%-- 	<rich:menuItem value="#{messages['rci.booking.menu']}" styleClass="menuText_Label" action="#{adminRCIBookingBean.initRCIBookingAction}" immediate="true"/>--%>
		   		<rich:menuItem value="#{messages['member.booking.menu']}" styleClass="menuText_Label" action="#{adminMemberBookingBean.initMemberBookingListAction}" immediate="true"/>		   		 
		   </rich:menuGroup>
		</rich:dropDownMenu>
	</t:column>
	 
    <t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['salesadmin.menu']}" styleClass="menuText_Label" >
		   <rich:menuItem value="#{messages['proscpect.management']}" styleClass="menuText_Label" action="#{adminProspectMagmtBean.navListAction}" immediate="true"/>

  		   <rich:menuGroup  value="#{messages['voucher.management.menu']}" styleClass="menuText_Label" >
			 <rich:menuItem value="#{messages['voucher.entry.update.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherEntryAction}" immediate="true"/>
			 <rich:menuItem value="#{messages['print.complimentary.voucher.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initPrintComplAccommVoucherAction}" immediate="true"/>
		   </rich:menuGroup>
		   
		  <%--  	
		   <rich:menuItem value="#{messages['complaint']}" styleClass="menuText_Label" action="#{adminPackageBean.navListAction}" immediate="true"/>
		   	--%>
		</rich:dropDownMenu>
	</t:column>

	<t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['finance.menu']}" styleClass="menuText_Label" >
			<rich:menuItem value="#{messages['finance.management.menu']}" action="#{memberInvListingBean.initSalesAdminRole}" styleClass="menuText_Label" immediate="true"/>
		</rich:dropDownMenu>
       <%-- 
		<h:commandLink value="#{messages['finance.management.menu']}" action="#{memberInvListingBean.initPage}" styleClass="menuText_Label" immediate="true"></h:commandLink>
	   --%>
	</t:column>

	<t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['reports.menu']}" styleClass="menuText_Label" >
		        <rich:menuItem value="#{messages['report.admin.menu']}" action="#{reportMenuBean.navAdminReportAction}" styleClass="menuText_Label" immediate="true"/>
		        <rich:menuItem value="#{messages['report.member.menu']}" action="#{reportMenuBean.navMemberReportAction}" styleClass="menuText_Label" immediate="true"/>
		        <rich:menuItem value="#{messages['report.rci.menu']}" action="#{reportMenuBean.navRCIReportAction}" styleClass="menuText_Label" immediate="true"/>
		        <rich:menuItem value="#{messages['report.finance.menu']}" action="#{reportMenuBean.navFinanceReportAction}" styleClass="menuText_Label" immediate="true"/>
		</rich:dropDownMenu>
	</t:column>
	
	
	
	<t:column style="align:left">
    
		<h:outputLink  value="/#{menuBean.reqContextPath}/j_acegi_logout" styleClass="menuText_Label">
		  <h:outputText value="#{messages['logout']}" styleClass="menuText_Label" />
		</h:outputLink>
	</t:column>

</t:panelGrid>




